package Model;

public class User {

    private String name;
    private String emailAddress;
    private String phoneNumber;
    private LoginCredential login;

    public User(String name, String emailAddress, String phoneNumber, LoginCredential login){
        this.name = name;
        this.emailAddress = emailAddress;
        this.phoneNumber = phoneNumber;
        this.login = login;
    }

    public String getString(){
        return "Name: "+ this.name + "\n"
                + "eMail: "+ this.emailAddress + "\n"
                + "Phone No.: " + this.phoneNumber + "\n";
    }

    public LoginCredential getLoginCredentials() {
        return login;
    }


}
